package com.example.keli.ui.home.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Description:
 * Data：2019/3/19-13:27
 * Author: Allen
 */
public class HomeListBean implements Parcelable {
    String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.url);
    }

    public HomeListBean() {
    }

    protected HomeListBean(Parcel in) {
        this.url = in.readString();
    }

    public static final Creator<HomeListBean> CREATOR = new Creator<HomeListBean>() {
        @Override
        public HomeListBean createFromParcel(Parcel source) {
            return new HomeListBean(source);
        }

        @Override
        public HomeListBean[] newArray(int size) {
            return new HomeListBean[size];
        }
    };
}
